<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>填写申请</title>
    <link th:href="@{/layui/css/layui.css}" rel="stylesheet" />
    <link th:href="@{/css/familyupdate.css}" rel="stylesheet" />
    <style type="text/css">
        .back{
            padding: 30px 30px ;

            width: 1250px;
            height: 1000px;

        }
        .part{

            width: 1250px;
            height: 300px;
        }
        table{
            font-family: verdana,arial,sans-serif;
            font-size:14px;
            color:#333333;
            border-width: 1px;
            border-color: #666666;
            border-collapse: collapse;
        }
        table th{
            padding: 8px;
            width: 100px;
            height: 50px;
            text-align: right;
        }
        table td{
            padding: 8px;
            width: 100px;
            height: 50px;
        }
        .tr1{
            background: #efefef;font-size: 14px;height:50px;
        }
        .tr2{
            height: 60px;border-bottom: 2px solid #eaeaea;font-size: 13px;
        }

        input:disabled{

            background-color:white;
            border-bottom: 1px solid #dbdbdb;
            border-top:0px;
            border-left:0px;
            border-right:0px;
            text-align: center;
            width: 100px;
        }
        a{
            color: #33CCFF;
        }
        textarea{
            width:1100px;
            height:80px;
            border:0px;
        }
        textarea:disabled{
            width:1100px;
            height:80px;
            background-color:white;
        }
        h1{
            text-align: center;
            margin-bottom: 30px;
        }
        select{
            margin-top: 10px;
            width: 150px;
            height: 30px;
            border: 1px solid #4169E1;
        }
        .submitButton{
            margin-left: 1150px;
            width: 95px;
            height: 45px;
            border-radius: 5px;
            color: white;
            background-color: #4169E1;
        }
    </style>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">

    <!-- header -->
    <div th:replace="~{commons/header::header}"></div>

    <!-- left -->
    <div th:replace="~{commons/left::left}"></div>
    <!-- 内容主体区域 -->
    <div class="layui-body">
        <div class="back">
            <h1 style="text-align: center;">用人单位申请</h1>
            <div class="part">
                <form action="/hw_staff_unitapply_update" method="post">
                    <input class="submitButton" type="submit" value="保存" />
                <table>

                    <tr th:each="hwLaborList:${hwLaborinfo3}">
                        <th>用工批次:</th>
                        <td><input type="text" disabled="disabled" name="batchTeam" th:value="${hwLaborList.getBatchTeam()}"></td>
                        <th>用工单位:</th>
                        <td><input type="text" disabled="disabled" name="laborUnit" th:value="${hwLaborList.getLaborUnit()}"></td>
                        <th>需求人数:</th>
                        <td><input type="text" disabled="disabled" name="laborRequestNum" th:value="${hwLaborList.getLaborRequestNum()}"></td>
                        <th>本期招聘人数:</th>
                        <td><input type="text" disabled="disabled" name="laborRecruitersNum" th:value="${hwLaborList.getLaborRecruitersNum()}"></td>
                    </tr>
                    <tr th:each="hwLaborList:${hwLaborinfo3}">

                        <th>工资标准:</th>
                        <td><input type="text" disabled="disabled" name="laborStandard" th:value="${hwLaborList.getLaborStandard()}"></td>

                        <th>提交时间:</th>
                        <td><input type="text" disabled="disabled" name="batchTeam" th:value="${hwLaborList.getLaborSubmitTime()}"></td>
                        <th>审批状态:</th>
                        <td><input type="hidden" name="laborNum" th:value="${hwLaborList.getLaborNum()}">

                            <select name="laborApprovalState">
                                <option th:selected="${hwLaborList.getLaborApprovalState()}=='未审核'" value="未审核">未审核</option>
                                <option th:selected="${hwLaborList.getLaborApprovalState()}=='审核通过'" value="审核通过">审核通过</option>
                                <option th:selected="${hwLaborList.getLaborApprovalState()}=='审核不通过'" value="审核不通过">审核不通过</option>
                            </select>
                        </td>
                    </tr>



                    <tr th:each="hwLaborList:${hwLaborinfo3}">
                        <th> 申请理由:</th>
                        <td colspan="7"><textarea disabled="disabled"  name="laborReason" th:value="${hwLaborList.getLaborReason()}"></textarea></td>
                    </tr>
                    <tr class="tr1">
                        <th colspan="3"  style="text-align: center;">工作内容</th>
                        <th colspan="3"  style="text-align: center;"> 工作时间、工作量</th>
                        <th colspan="2"  style="text-align: center;">月工作时数</th>
                    </tr>
                    <tr th:each="hwContent:${hwContentinfo3}" class="tr2">
                        <td colspan="3"  style="text-align: center;" th:text="${hwContent.getHwContentContent}"></td>
                        <td colspan="3"  style="text-align: center;" th:text="${hwContent.getHwContentTime()}"></td>
                        <td colspan="2"  style="text-align: center;" th:text="${hwContent.getHwContentHours()}"></td>
                    </tr>

                </table>
                </form>
            </div>

        </div>
    </div>
</div>
<script th:src="@{/layui/layui.js}"></script>
<script>
    //JavaScript代码区域
    layui.use('element', function() {
        var element = layui.element;
    });
</script>
</body>
</html>
